package com.hourse.platform.vo;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @使用描述: RoleMenuVO
 */
@Data
public class RoleMenuVO extends BaseVo implements Serializable {


  private String id;

  @NotBlank(message = "角色ID不能为空...")
  private String roleId;

  @NotBlank(message = "菜单ID不能为空...")
  private String menuId;

  private String menuName;

  public RoleMenuVO() {
  }

  public RoleMenuVO(String id, String roleId, String menuId, String menuName) {
    this.id = id;
    this.roleId = roleId;
    this.menuId = menuId;
    this.menuName = menuName;
  }
}
